home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / emulator / bsvc-1.000 / bsvc-1 / bsvc-1.0.4 / src / SimHector / log next >
Text File  |  1995-07-26  |  2KB  |  62 lines

  1.  
  2. - Made a simHector directory and copied the contents for the simTemplate
  3.   directory into it.
  4.  
  5. - Changed the THEPRG variable in the simHector/Imakefile to be simHector
  6.  
  7. - Renamed simHector/cpu/newcpu.hxx to hector.hxx
  8.  
  9. - Changed the following in hector.hxx:
  10.  
  11.   * NEWCPU_HXX to HECTOR_HXX
  12.   * Class name from newcpu to hector (class hector : public BasicCPU)
  13.   * Changed constructor and destuctor name from newcpu to hector
  14.   * Added a RegisterData structure at the top of the file to keep
  15.     the name of the register, a mask, and a description:
  16.  
  17.           // Register information structure
  18.           struct RegisterData {
  19.             const char* name;
  20.             const unsigned long mask;
  21.             const char* description;
  22.           };
  23.   * Added static RegisterData register_data[];
  24.           unsigned long *register_value;
  25.  
  26.   * Added Constant Register array indices and Status Register Masks.
  27.  
  28. - Made the hector.cxx file
  29.   * Defined the register_data array
  30.   * wrote constructor
  31.   * wrote destructor
  32.   * wrote Reset routine
  33.   * wrote SetRegister routine
  34.   * wrote BuildRegisterInformationList routine
  35.   * added stubs for other methods
  36.  
  37. - Modified main.cxx to include Hector.hxx instead of newcpu.hxx also
  38.   made it instanticate a Hector object.
  39.  
  40. - Modified simHector/Imakefile/cpu to build Hector.o
  41.  
  42. - did xmkmf in all of the dirs
  43.  
  44. - made simHector and test the UI to make sure Registers were displayed
  45.   and their values could be changed.
  46.  
  47. - Decided that the best way to design the Hector simulator was to have
  48.   the following object layout
  49.                            
  50.                            --RegisterSet
  51.               ----DataPath-    
  52.            ---      |      -- ALU 
  53.     Hector-         | 
  54.            ---      | 
  55.               ----ControlUnit 
  56.  
  57.  
  58. - Built the New objects: RegisterSet, ALU, DataPath, ControlUnit
  59.  
  60.  
  61.  
  62.